<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>配置管理中心</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" type="text/css" href="${.ctx}/statics/plugins/layui/css/layui.css">
	<link rel="stylesheet" type="text/css" href="${.ctx}/statics/css/font-awesome.min.css">
	<link rel="stylesheet" type="text/css" href="${.ctx}/statics/css/index1.css">
	<script type="text/javascript" src="${.ctx}/static/js/encrypt/md5.js"></script>
    <% include("/pages/template/common.html" .}
</head>
<body>
<div class="layui-layout layui-layout-admin" id="layui_layout">
	<!-- 顶部区域 -->
	<div class="layui-header header header-demo">
		<div class="layui-main">
			<!-- logo区域 -->
			<div class="admin-logo-box">
				<a class="logo" href="javascript:;">配置管理中心</a>
				<div class="larry-side-menu">
					<i class="fa fa-arrow-left" aria-hidden="true"></i>
				</div>
			</div>
			<!-- 顶级菜单区域 -->
			<!-- <div class="layui-larry-menu">
                 <ul class="layui-nav clearfix">
                       <li class="layui-nav-item layui-this">
                               <a href="javascirpt:;"><i class="iconfont icon-wangzhanguanli"></i>内容管理</a>
                        </li>
                        <li class="layui-nav-item">
                               <a href="javascirpt:;"><i class="iconfont icon-weixin3"></i>微信公众</a>
                        </li>
                        <li class="layui-nav-item">
                               <a href="javascirpt:;"><i class="iconfont icon-ht_expand"></i>扩展模块</a>
                        </li>
                 </ul>
            </div> -->
			<!-- 右侧导航 -->
			<ul class="layui-nav larry-header-item">
				<li class="layui-nav-item">
					<a href="javascript:;" @click="updateProject"><i class="fa fa-th-list"></i> &nbsp;修改项目({{user.projectName}})</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:;" @click="updatePassword"><i class="fa fa-lock"></i> &nbsp;修改密码</a>
				</li>
				<li class="layui-nav-item">
					<a href="logout"><i class="fa fa-sign-out"></i> &nbsp;退出系统</a>
				</li>
			</ul>
		</div>
	</div>
	<!-- 左侧侧边导航开始 -->
	<div class="layui-side layui-side-bg layui-larry-side" id="larry-side">
		<div class="layui-side-scroll" id="larry-nav-side" lay-filter="side">
			<!-- 左侧菜单 -->
			<ul class="layui-nav layui-nav-tree">
				<menu-item :item="item" v-for="item in menuList"></menu-item>
			</ul>
		</div>
	</div>

	<!-- 左侧侧边导航结束 -->
	<!-- 右侧主体内容 -->
	<div class="layui-body" id="larry-body" style="bottom: 0;border-left: solid 2px #1AA094;">
		<div class="layui-tab layui-tab-card larry-tab-box" id="larry-tab" lay-filter="main-tab" lay-allowclose="true">
			<ul class="layui-tab-title">
				<li class="layui-this" id="admin-home"><i class="fa fa-home"></i><em>控制台</em></li>
			</ul>
			<div class="layui-tab-content" style="min-height: 150px; ">
				<div class="layui-tab-item layui-show">
					<iframe class="larry-iframe" data-id='0' src="${.ctx}/admin/welcome"></iframe>
				</div>
			</div>
		</div>


	</div>
	<!-- 底部区域 -->
	<div class="layui-footer layui-larry-foot" id="larry-footer">
		<div class="layui-mian">
			Copyright &copy; 2017 <a href="http://www.jflyfox.com" target="_blank">FLY的狐狸</a> All Rights Reserved
		</div>
	</div>

	<!-- 修改密码 -->
	<div id="passwordLayer" style="display: none;">

		<form class="layui-form" action="">
			<div class="layui-form-item">
				<label class="layui-form-label">账号</label>
				<label class="layui-form-label laber-account">{{user.username}}</label>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">原密码</label>
				<div class="layui-input-inline">
					<input type="password" v-model="password" placeholder="原密码" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">新密码</label>
				<div class="layui-input-inline">
					<input type="text" v-model="newPassword" placeholder="新密码" autocomplete="off" class="layui-input">
				</div>
			</div>
		</form>
	</div>

	<!-- 修改项目 -->
	<div id="projectLayer" style="display: none;">

		<form class="layui-form" action="">
			<div class="layui-form-item">
				<label class="layui-form-label">项目</label>
				<label class="layui-form-label">
					<select name="projectId" style="display: block">
					</select>
				</label>
			</div>
		</form>
	</div>
</div>

<script type="text/javascript" src="${.ctx}/statics/libs/jquery.min.js"></script>
<script type="text/javascript" src="${.ctx}/statics/plugins/layui/layui.js"></script>
<script type="text/javascript" src="${.ctx}/statics/libs/vue.min.js"></script>
<script type="text/javascript" src="${.ctx}/resources/js/home.js?t=2"></script>
</body>
</html>